package com.quik.backend.service;

import java.util.List;
import java.util.Map;

public interface BaseService {
	
	public void updateByFull(Object pojo);

	public void insert(Object pojo);

	public Object queryById(Class clazz, Integer id);

	public List queryByMap(Class clazz, Map<String, Object> params);

	public List queryByProp(Class clazz, String name, Object value);

	public Object queryOneByProp(Class clazz, String name, Object value);

	public Object queryOneByMap(Class clazz, Map<String, Object> params);
	
	public List load(String sqlName, Object params);

}
